@charset "utf-8";


.web_box {
    //banner
    .index_kv {
        width: 100%;
        height: 400px;
        overflow: hidden;
        margin-bottom: 50px;
        box-shadow: 0 10px 15px rgba(175, 23, 48, .1);
        img{
            width: 100%;
        }
    }
    //目录
    >p{
        margin-bottom: 35px;
        img{
            vertical-align: middle;
            margin-left: 12px;
        }
        a{
            color: #af1730;
        }
        a:last-child{
            color: #999;
        }
    }
    //健康资讯
    .h_info {
        margin: 0;
        margin-bottom: 100px;
        >ul {
            width: 1200px;
            margin: 0 auto;
            li {
                font-size: 0;
                position: relative;
                width: 352px;
                height: 360px; 
                padding-bottom: 50px;
                margin-bottom: 100px;
                box-shadow: 0 10px 15px rgba(175, 23, 48, .3);
                .h_img{
                    width: 100%;
                    height: 230px;
                    overflow: hidden;
                    text-align: center;
                    margin-bottom: 35px;
                    >img{
                        height: 100%;
                    }
                }
                >p{
                    font-size: 18px;
                    font-weight: bold;
                    padding: 0px 20px;
                    color: #666666;
                    text-align: center;
                    height: 98px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 4;
                    -webkit-box-orient: vertical;
                }
                >a {
                    position: absolute;
                    bottom: -25px;
                    left: 50%;
                    margin-left: -72px;
                    width: 144px;
                    height: 51px;
                    line-height: 51px;
                    text-align: center;
                    color: #fff;
                    font-size: 14px;
                    font-weight: bold;
                    background: linear-gradient(#ff0000, #b01730);
                }
                &:hover {
                    transform: translateY(-20px);
                    box-shadow: 0 10px 15px rgba(175, 23, 48, .3);
                }
            }
            li:not(:nth-child(3n)){
                margin-right: 68px;
            }
        }
        //分页器
        .pagination{
            width: 1200px;
            text-align: right;
            margin: 0 auto;
            padding: 0 8px;
            box-sizing: border-box;
            
            ul{
                display: inline-block;
                li.active{
                    color: #fff;
                    cursor: pointer;
                }
                li:hover{
                    background-color: #af1730;
                    color: #ffffff;
                }
                .disabled{
                    cursor: pointer;
                }
            }
        }
    }
}